home *** CD-ROM | disk | FTP | other *** search
- Path: yfn.ysu.edu!ak512
- From: ak512@yfn.ysu.edu (Larry Estep)
- Newsgroups: comp.lang.c
- Subject: Weird Watcom video problem
- Date: 22 Jan 1996 03:02:44 GMT
- Organization: St. Elizabeth Hospital, Youngstown, OH
- Message-ID: <4duuok$5up@news.ysu.edu>
- Reply-To: estep@morehead-st.edu (Larry Estep)
- NNTP-Posting-Host: yfn2.ysu.edu
-
-
-
- I'm using Watcom C 10.0 to build a 32 bit DOS program using DOS4GW.
- The program switches to 50 line mode while it's running and back to 25
- line mode when it finishes.
-
- I'm using _gettextcolor() and _getbkcolor() when the program starts
- to determine the original colors of the screen. Then I use _settextrows()
- to switch to 50 line mode.
-
- When the program completes, I use _settextcolor() and _setbkcolor()
- to reset the colors (using the values I obtained above) and _settextrows()
- again to switch back to 25 line mode.
-
- Everything seems to be fine until I try running another program that
- uses 43/50 line mode. For instance, I prefer the Borland C editor in 50
- line mode. When I execute the editor, all of the colors are wrong. And
- when I exit the editor, there's a green border around the screen.
-
- What is happening here, and how can I prevent it?
-
- Any assistance would be appreciated.
-
- Thanks,
- Larry
-
-